package com.example.android.ui.personal;

import com.example.android.network.RetrofitClientLocal;
import com.example.android.network.service.UserService;

import io.reactivex.rxjava3.core.Flowable;
import okhttp3.RequestBody;

public class PersonalModel implements PersonalContract.IPersonalModel {

    @Override
    public Flowable<Boolean> setPersonalData(RequestBody body,String token) {
        System.out.println(body);
        return RetrofitClientLocal.getInstance().getService(UserService.class).setPersonalData(body,token);
    }
}
